package yxy.game.pm2.bean.db.po;

import yxy.apple.db.ResultObjectBuilder;

import java.util.Date;

public class HashCachePo {

    long id;
    private String hashkey;
    private String itemkey;
    private Date createtime;
    private Date updatetime;
    private String value;

    public static ResultObjectBuilder<HashCachePo> builder = rs -> {
        HashCachePo u = new HashCachePo();
        u.setId(rs.getLong("id"));
        u.setHashkey(rs.getString("hashkey"));
        u.setItemkey(rs.getString("itemkey"));
        u.setCreatetime(rs.getDate("createtime"));
        u.setUpdatetime(rs.getDate("updatetime"));
        return u;
    };

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getHashkey() {
        return hashkey;
    }

    public void setHashkey(String hashkey) {
        this.hashkey = hashkey;
    }

    public String getItemkey() {
        return itemkey;
    }

    public void setItemkey(String itemkey) {
        this.itemkey = itemkey;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }
}
